package com.zhang.discount.service;

import com.zhang.discount.dto.FlashSaleSearchDTO;
import com.zhang.discount.entity.FlashSales;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
/**
 * @author 创世神
 * @since 2024-09-28 09:48:51
 */
public interface FlashSalesService extends IService<FlashSales> {

    Page<FlashSales> findPage(FlashSales params);

    Page findList(FlashSaleSearchDTO dto);

    FlashSales findById(Long id);

    boolean insert(FlashSales flashSales);

    boolean update(FlashSales flashSales);

    int delete(Long id);

}
